package org.opengoofy.index12306.framework.starter.designpattern.chain;

import org.springframework.core.Ordered;

/**
 * @author ling007
 * @date 2024/5/24 17:34
 * @desciption: 抽象责任链处理接口
 */

public interface AbstractChainHandler<T> extends Ordered {



    /**
     * 执行责任链逻辑
     *
     * @param requestParam 责任链执行入参
     */
    void handler(T requestParam);

    /**
     * @return 责任链组件标识
     */
    String mark();

}
